package com.totem.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.totem.order.model.TFundOrderItems;
import com.totem.order.vo.FundOrderPageVO;
import com.totem.order.vo.FundOrderVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TFundOrderItemMapper extends BaseMapper<TFundOrderItems> {

    Long countAll(@Param("vo") FundOrderPageVO fundOrderPageVO);

    IPage<FundOrderVO> findAll(IPage<FundOrderVO> page, @Param("vo") FundOrderPageVO fundOrderPageVO);

    List<FundOrderVO> findAll(@Param("vo") FundOrderPageVO fundOrderPageVO);
}
